package com.bolingcavalry.uschedule;

import com.winit.schedule.core.model.Task;
import com.winit.schedule.core.task.ScheduleTaskDealSingle;
import com.winit.schedule.core.task.annotation.ScheduleTask;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.text.SimpleDateFormat;

/**
 * Created by wanglin on 2018/5/15.
 */
@ScheduleTask(taskName = "MatrixTest")
public class MatrixSchedule implements ScheduleTaskDealSingle {
    private Logger logger = LoggerFactory.getLogger(MatrixSchedule.class);
    @Override
    public boolean execute(Task arg0) {
        logger.info("任务测试");
        return true;
    }
}